package main

import "fmt"

func main() {
	/*
	*
	**
	***
	****
	*****
	*/
	for j := 1; j <= 5; j++ {
		for i := 1; i <= j; i++ {
			fmt.Print("*")
		}
		fmt.Println()
	}
	fmt.Println()
	/*
	*****
	****
	***
	**
	*
	*/
	for j := 5; j >= 1; j-- {
		for i := 1; i <= j; i++ {
			fmt.Print("*")
		}
		fmt.Println()
	}

}
